<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TreePanel.aspx.cs" Inherits="TreePanel" %>
<%@ Register Assembly="GridControl" Namespace="GridControl" TagPrefix="cc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link href="css/fonts.css" rel="stylesheet" type="text/css" />
    <link href="css/reset.css" rel="stylesheet" type="text/css" />
    <title>Sample of the new TreePane component</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    <cc1:TreePane ID="TreePane" enableDD="true" Loader="TreeHandler.ashx" Width="400px" runat=server>
    <TreeNodes>
        <cc1:TreeNode id="root" text="root" IsRoot="true" leaf="true" draggable="false" />
        <cc1:TreeNode id="TreeNode1" text="Child" parentNodeId="root" leaf="true" draggable="true" />
        <cc1:TreeNode id="TreeNode2" text="GrandChild" parentNodeId="TreeNode1" leaf="true" draggable="true" />
        <cc1:TreeNode id="node1" text="DynamicChildren" parentNodeId="root" leaf="false"  draggable="true"/>
        <cc1:TreeNode id="TreeNode3" text="GrandChild2" parentNodeId="TreeNode1" leaf="true" draggable="true" />
    </TreeNodes>
    </cc1:TreePane>
    </div>
    </form>
</body>
</html>
